@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input type="hidden" id="id"  value="${item.id}" />
            <div class="row">
                <div class="col-sm-6 b-r">
                            <!--<#input id="id" name="id" value="${item.id}" underline="true"/>-->
                            <input id="id" value="${item.id}" type="hidden">
                            <#input id="name" name="主机名称" value="${item.name}" underline="true"/>
                            <#input id="ip" name="ip" value="${item.ip}" underline="true" />
                            <#input id="port" name="端口号" value="${item.port}" underline="true"/>
                </div>

                <div class="col-sm-6">

                            <#input id="account" name="主机用户名" value="${item.account}" underline="true"/>
                            <#input id="password" name="密码" value="${item.password}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DeviceInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DeviceInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/doorDevice/device/device_info.js"></script>
@}
